package com.work.bean;

public class Teacher {
    private Integer id;
 private Integer uId;
 private String name;
 private String sex;
 private Integer age;
 private String pwd;

    public Teacher(Integer id,Integer uId, String name, String sex, Integer age, String pwd) {
       this.id = id;
        this.uId = uId;
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.pwd = pwd;

    }

    public Teacher() {
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "id=" + id +
                ", uId=" + uId +
                ", name='" + name + '\'' +
                ", sex=" + sex +
                ", age=" + age +
                ", pwd='" + pwd + '\'' +
                '}';
    }
}
